<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcss.com/angular.js/1.7.8/angular.js"></script>

</head>
<body>
<h1>angular写一个联动菜单</h1>
<form action="" ng-app="landing" ng-controller="control">
    <select ng-model="pid">
        <option value="${{index}}" ng-repeat="pro in pros">{{pro}}</option>
    </select>

    <select >
        <option></option>
    </select>
</form>
</body>
<script>

    const app = angular.module('landing', []);
    app.controller('control',function($scope){
        $scope.pros = ['北京','安徽','广东'];
    });


</script>
</html>
